﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hive.Core;

// hello Dimon!
namespace Hive.Bot
{
    class Program
    {
        static void Main(string[] args)
        {
            Log.Write("Start");
            try
            {
                new Engine().PlayGame(new HiveController());
                Log.Write("End");
            }
            catch (Exception ex)
            {
                Log.Write(ex.ToString());
            }

            //List<Order> l1 = new List<Order>()
            //{
            //    new Order() { Ant = null, Destination = null, Efficiency = 1 },
            //    new Order() { Ant = null, Destination = null, Efficiency = 2 }
            //};

            //var l2 = l1.GroupBy(i => i.Efficiency, (k, g) => g.Last());

            //Console.WriteLine(l1.Except(l2).Count());
            //Console.WriteLine(l1.First().Equals(l2.First()));
        }
    }

    
}

